package com.matt.domain.care;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 餐食记录
 */
@Entity
@Data
@Table(name = "hl_feeding_record")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class HLFeedingRecord extends HLCareBaseRecord {

    @Column(columnDefinition = " int default 0 COMMENT '就餐类型 0:随餐  1:早餐 2:中餐 3:晚餐 4:上午点心 5:晚餐'", nullable = false)
    private Integer diet;

    @Column(columnDefinition = " int(3) default 0  COMMENT '食物类型， 2 综合， 0 食物，   '")
    private Integer type = 0;

    @Column(columnDefinition = " varchar(256)  COMMENT '主食'")
    private String food;

    @Column(columnDefinition = " int default 0 COMMENT '食量  0:正常  1:剩饭  2：加量'", nullable = false)
    private Integer quantity;

    @Column(columnDefinition = " int default 0 COMMENT '水量， 毫升mm'")
    private Integer liquidQuantity;

    @Column(columnDefinition = " int default 0  COMMENT '吃东西状态评分'")
    private Integer rankVal;

    @Column(columnDefinition = " varchar(2048)  COMMENT '报告图片'")
    private String medias;

    @Column(columnDefinition = " int  COMMENT '媒体类型 1-图片 2-视频'")
    private Integer mediaType;

    @Column(columnDefinition = " varchar(512)  COMMENT '口味'")
    private String taste;

    @Column(columnDefinition = " varchar(512)  COMMENT '餐后'")
    private String afterTaste;
}
